﻿using Looptribe.Moodlin8.Model;

namespace Looptribe.Moodlin8.ViewModel
{
    public class CoursesCourseWrapper
    {
        private readonly Course _course;
        public Course Course { get { return _course; } }

        public CoursesCourseWrapper(Course course)
        {
            _course = course;
        }

        public string Title { get { return _course.Shortname; } }
        public string Subtitle { get { return _course.Fullname; } }
    }
}
